// miniprogram/pages/poetry/hecheng/hecheng.js
const poetry_db = wx.cloud.database().collection("poetry")
Page({
  data: {
    hechengs: []
  },
  onLoad: function (options) {
    poetry_db.where({
      title: "作者合称大全"
    }).get({
      success: (res) => {
        console.log(res)
        var hechengs = res.data[0].hechengs
        this.setData({
          hechengs: hechengs
        })
      }
    })
  },
  onShareAppMessage: function () {

  }
})